projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df700cc
)
Do not indent at the beginning of buffer
author
Fabián Ezequiel Gallina
<fgallina@cuca>
Thu, 17 May 2012 03:02:55 +0000
(
00:02
-0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Thu, 17 May 2012 03:02:55 +0000
(
00:02
-0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 250f4812a33d17904de07ecfac5ada0b13796cc9..9a55f337996b2d89b24511582e8bbcaecd18c95d 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-452,6
+452,9
@@
START is the buffer position where the sexp starts."
(start))
(cons
(cond
+ ;; Beginning of buffer
+ ((bobp)
+ 'no-indent)
;; Inside a paren
((setq start (nth 1 ppss))
'inside-paren)